import axios from '@/libs/api.request'
class Role {
	async getRoleList(pageNo, roleName) {
    const res = await axios.get('sys/roleList',{pageNo, pageSize: 10, roleName})
    return res
  }
  async deleteRole(pkId) {
    const res = await axios.get('sys/roleDelete',{roleId: pkId})
    return res
  }
  async getAccount(userAcctId) {
    const res = await axios.get('sys/accountEdit',{userAcctId})
    return res
  }
}
export default new Role()
